﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace SilentVoice.ServiceObjects
{
    public class ServiceUser
    {
        private Models.User user;

        public ServiceUser(Models.User user)
        {
            this.user = user;    
        }

        public string FirstName {
            get { return this.user.FirstName; }
            set { this.user.FirstName = value; }
        }
        
        public string LastName
        {
            get { return this.user.LastName; }
            set { this.user.LastName = value; }
        }
        
        public string MiddleName
        {
            get { return this.user.MiddleName; }
            set { this.user.MiddleName = value; }
        }
        
        public string Email
        {
            get { return this.user.Email; }
        }

        public int Account
        {
            get { return this.user.AccountId; }
        }

        public Models.User User { get { return user; } }
    }
}